﻿using System.Collections.Generic;

namespace Syfuhs.APIWrappers.LiveMeeting
{
    /// <summary>
    /// Live Meeting user
    /// </summary>
    public class LiveMeetingUser : ParsedType
    {
        public void SetSettings(UserSettings settings)
        {
            this.Settings = settings;
        }

        public string UserName { get; set; }

        public string Password { get; set; }

        public string EmailAddress { get; set; }

        public string FirstName { get; set; }

        public string LastName { get; set; }

        public UserSettings Settings { get; private set; }

        public override string ToString()
        {
            return UserName;
        }
    }

    /// <summary>
    /// Collection of Live Meeting users
    /// </summary>
    public class LiveMeetingUserCollection : List<LiveMeetingUser>
    { }
}
